/**
 * Created by eua on 2017/6/23.
 */
export const INCREMENT = (state) => {
    state.count++
}

export const DECREMENT = (state) => {
    state.count--
}

export const setExtId = (state, payload) => {
    let ext_id = payload.ext_id;
    localStorage.setItem('ext_id', JSON.stringify(ext_id));
    state.ext_id = ext_id;
}